<?php

namespace App\Model;


use Illuminate\Database\Eloquent\Model;

class MSDeviceRelation extends Model{

    protected $table = 'ms_device_relation';
    protected $fillable = ['device_id','ms_id'];

    public function device(){
        $this->hasOne('App\Model\Device','id','device_id');
    }

}